package com.eascs.workflow.common.entity.sys;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the wf_message database table.
 * 
 */
@Entity
@Table(name="wf_message")
@NamedQuery(name="WfMessage.findAll", query="SELECT w FROM WfMessage w")
public class WfMessage implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="message_id")
	private String messageId;

	@Column(name="biz_code")
	private String bizCode;

	private String content;

	private byte counts;

	private String creator;
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="create_time")
	private Date createTime;

	@Column(name="receive_name")
	private String receiveName;

	@Column(name="receive_telphone")
	private String receiveTelphone;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="request_date_time")
	private Date requestDateTime;

	@Column(name="request_id")
	private String requestId;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="schedule_send_date_time")
	private Date scheduleSendDateTime;

	@Column(name="send_name")
	private String sendName;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="send_time")
	private Date sendTime;

	@Column(name="send_type")
	private String sendType;

	private int status;

	@Column(name="system_code")
	private String systemCode;
	
	
	@Column(name="remark")
	private String remark;

	public WfMessage() {
	}

	public String getMessageId() {
		return this.messageId;
	}

	public void setMessageId(String messageId) {
		this.messageId = messageId;
	}

	public String getBizCode() {
		return this.bizCode;
	}

	public void setBizCode(String bizCode) {
		this.bizCode = bizCode;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public byte getCounts() {
		return this.counts;
	}

	public void setCounts(byte counts) {
		this.counts = counts;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getReceiveName() {
		return this.receiveName;
	}

	public void setReceiveName(String receiveName) {
		this.receiveName = receiveName;
	}

	public String getReceiveTelphone() {
		return this.receiveTelphone;
	}

	public void setReceiveTelphone(String receiveTelphone) {
		this.receiveTelphone = receiveTelphone;
	}

	public Date getRequestDateTime() {
		return this.requestDateTime;
	}

	public void setRequestDateTime(Date requestDateTime) {
		this.requestDateTime = requestDateTime;
	}

	public String getRequestId() {
		return this.requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public Date getScheduleSendDateTime() {
		return this.scheduleSendDateTime;
	}

	public void setScheduleSendDateTime(Date scheduleSendDateTime) {
		this.scheduleSendDateTime = scheduleSendDateTime;
	}

	public String getSendName() {
		return this.sendName;
	}

	public void setSendName(String sendName) {
		this.sendName = sendName;
	}

	public Date getSendTime() {
		return this.sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public String getSendType() {
		return this.sendType;
	}

	public void setSendType(String sendType) {
		this.sendType = sendType;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getSystemCode() {
		return this.systemCode;
	}

	public void setSystemCode(String systemCode) {
		this.systemCode = systemCode;
	}


	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	

}